<template>
  <el-dialog
    title="流程图"
    :visible.sync="dialogVisible"
    width="90%">
      <el-scrollbar style="height: 450px">
        <bpm-view :processInstanceId="processInstanceId"></bpm-view>
      </el-scrollbar>
    <span slot="footer" class="dialog-footer">
      <el-button type="primary" @click="dialogVisible = false" size="small">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
    import BpmView from './BpmView'
    export default {
        components: {BpmView},
        data() {
            return {
                dialogVisible:false,
              processInstanceId:'',
            }
        },
        computed:{

        },
        methods: {
            open(processInstanceId) {
                this.dialogVisible = true
                this.processInstanceId = processInstanceId
            },
        }
    }
</script>

<style scoped lang="scss">

</style>
